package com.example.apiproxydemo.core.filter;

import lombok.extern.log4j.Log4j2;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import org.springframework.web.server.ServerWebExchange;
import org.springframework.web.server.WebFilterChain;
import reactor.core.publisher.Mono;

/**
 * @Description TODO
 * @Author zhoupan
 * @Date 2022/2/25 14:20
 */
@Log4j2
@Order(10)
@Component
public class 回调过滤器  extends 过滤器抽象类{

    @Override
    Mono<Void> doFilter(ServerWebExchange exchange, WebFilterChain chain) {
        log.info("回调过滤器!!!!!!!");

        return chain.filter(exchange);
    }
}
